﻿using System.Windows;

namespace SnakeGame.Views
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            MainFrame mainFrame = FindName("MainFrame") as MainFrame;
            if (mainFrame != null)
            {
                mainFrame.Window = this;
            }
        }
    }
}
